import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store/store'

import httpRequest  from './lib/common/httpRequest';
Vue.config.productionTip = false

//axios请求
Vue.prototype.$http = httpRequest

//路由拦截
router.beforeEach((to, from, next) => {
    next()
})


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
